//
//  NoticeCell.h
//  PropertyMananger
//
//  Created by Mansion on 16/12/24.
//  Copyright © 2016年 BH. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MessageModel.h"
#import "SGAdvertScrollView.h"
typedef void (^IndexBlock)(NSInteger index);

@interface NoticeCell : UITableViewCell <SGAdvertScrollViewDelegate>
@property (nonatomic,strong) UIView * bgView;
@property (nonatomic,strong) UIImageView * noticeImg;
@property (nonatomic,strong) UILabel * titleLabel;

@property (nonatomic,strong) MessageModel * model;
@property (nonatomic,strong) NSMutableArray * titleArray;

@property (nonatomic,strong) SGAdvertScrollView *advertScrollView;


@property (nonatomic,copy) IndexBlock block;

+(instancetype)cellWithTableView:(UITableView *)tableView;
@end
